<template>
  <div class="views">
    <router-view class="view" keep-alive></router-view>
  </div>

</template>

<script>
export default {
  data() {
    return {};
  },
  created: function() {
    var self = this;
    var sortStr = "";
    if (self.$route.query.sort) {
      // 不同参数跳转不同页面
      sortStr = self.$route.query.sort;
      if (sortStr == 1) {
      } else if (sortStr == 2) {
      }
    }
  },
  beforeDestroy: function() {},
  methods: {}
};
</script>
<style>

</style>